#!/usr/bin/env python

def build(build):
	dmap = build(
		features='c cprogram',
		# symbolic name used to reference this object
		name = 'dmap',
		target = 'dmap',
		#use = 'mdns',
		# name of the resulting program
		# prog.target = 'libmshare'
		source = 'dmap-structure.vala dmap-share.vala ../mshare-mdns.vala',
		# libraries to link against
		uselib = 'GLIB GOBJECT GEE LIBSOUP AVAHI',
		# Vala packages to use
		packages = ['glib-2.0', 'gio-2.0', 'gee-1.0', 'soup-2.4', 'avahi-gobject']
		# Extra vapi dirs
		#prog.vapi_dirs = '../my_lib'
		# Enable threading
		#prog.threading = True
	)
